package vip.sweet.biz.modular.user.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import vip.sweet.biz.modular.user.enums.BizFavoritesItemType;

import java.util.Date;

/**
 * @author ASUS
 * @Date 2025/10/4 18:41
 * @Descripition
 */
@TableName("biz_favorites")
@Schema(description = "业务逻辑收藏夹实体类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BizFavorites {
    @Schema(description = "收藏夹ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "用户ID")
    private String userId;
    @Schema(description = "收藏项ID")
    private String itemId;
    @Schema(description = "收藏项类型")
    private String itemType;
    @Schema(description = "收藏时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
